{extend name="base"/}
{block name="content"}
<div id="header-frame">
    {include file="public:top" /}
    <script type='text/javascript' src='__STATIC__/admin/uploadajax/js/jquery-2.0.3.min.js'></script>
    <script type='text/javascript' src='__STATIC__/admin/uploadajax/js/jquery.form.js'></script>
    <link href="__STATIC__/admin/uploadajax/css/style.css" type="text/css" rel="stylesheet"/>
</div>
<div id="frame-body">
    <div id="menu-frame" style="width: 100%;float: left;">
        {include file="public:menu" /}


    </div>
    <div id="main-frame" style="float: left;">
        <div id="dcMain" style="margin-left: 20px;width: 1682px;">
            <div id="urHere">DouPHP 管理中心<b>></b><strong>{$PageTitle}</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3>{$PageTitle}</h3>
            <style>
            	.tableBasic tr th,td{
            		height: 40px;
            	}
            	.user-name{
            		display: block;
            		padding-bottom: 20px;
            	}
            </style>
            <span class="user-name">用户名：{$allData['user']['nickname']}</span>
            <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                <tr>
                    <th align="center">收货人</th>
                    <th  align="center">电话</th>
                    <th  align="center">省市县/区</th>
                    <th  align="center">详细地址</th>
                    <th  align="center">创建时间</th>
                </tr>
                {foreach name="allData.data" item="vo"}
                <tr>
                    <td align="center">{$vo['uaddres_name']}</td>
                    <td align="center">{$vo['uaddres_mobile']}</td>
                    <td align="center"> <a href="product.php?cat_id=1">{$vo['uaddres_province']}/{$vo['uaddres_city']}/{$vo['uaddres_county']}</a></td>
                    <td align="center">{$vo['uaddres_detail']}</td>
                    <td align="center">{$vo['createtime']|date="Y-m-d H:i",###}</td>
                </tr>
                {/foreach}
            </table>
        </div>
        </div>
        <div class="clear"></div>
        <script type="text/javascript">
            //删除分类
            function protypes_dele(message, id) {
                layer.open({
                    content : message,

                    icon:3,
                    btn : ['是','否'],
                    yes : function(){
                        var url="{:url('admin/protype/protype_dele')}";
                        var success_url="{:url('admin/protype/protypes_index')}";
                        $.post(url,{'protype_id':id},function(result){
                            if(result.status=='4')
                            {
                                dialog.success(result.message,success_url);
                            }else
                            {
                                dialog.error(result.message);
                            }
                        })
                    }
                });
            }
        </script>
        {/block}